<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>幻灯片管理列表</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.js"></script>
<script language="javascript">
$(function(){	
	//导航切换
	$(".imglist li").click(function(){
		$(".imglist li.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})	
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>
</head>


<body>
__UPLOAD__
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('Admin/Index/welcome/')}">首页</a></li>
    <li><a href="">幻灯片管理</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><a href="{:U('Admin/Slide/add')}"><span><img src="__ADMIN_PUBLIC__images/t01.png" /></span>添加幻灯片</a></li>
        </ul>
        
        
        <ul class="toolbar1">
        </ul>
    
    </div>
    
    
    <table class="imgtable">
    
    <thead>
    <tr>
    <th width="100px;">缩略图</th>
    <th>标题</th>
    <th>图片网址</th>
    <th>是否显示</th>
    <th>显示平台</th>
    <th>操作</th>
    </tr>
    </thead>
    
    <tbody>
    	
     <foreach name="slide" item="v" >
    <tr>
    <td class="imgtd"><img src="../../Uploads/Slide/thumb/100X100_{$v.s_img}" /></td>
    <td><a href="#">{$v.s_title}</a><p>{$v.s_content}</p></td>
    <td>{$v.s_url}<p>ID: {$v.s_id}</p></td>
    <td><if condition="$v.s_isshow eq 0 ">显示<else />隐藏</if></td>
    <td><if condition="$v.s_ismobile eq 0">电脑端<else />手机端</if></td>
    <td><a href="{:U('edit/')}?sid={$v.s_id}" class="tablelink">修改</a> <a href="{:U('del/')}?sid={$v.s_id}" class="tablelink">删除</a>  </td>
    </tr>
    </foreach>
    
    
    </tbody>
    
    </table>
    
    
    
    
    
   

    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
<script type="text/javascript">
	$('.imgtable tbody tr:odd').addClass('odd');
	</script>
    
</body>

</html>
